#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main()
{
	int n1, n2, n3, n4, n5, n6;
	scanf("a=%d,b=%d\na=%d,b=%d\na=%d,b=%d", &n1, &n2, &n3, &n4, &n5, &n6);
	printf("a+b=%d\na+b=%d\na+b=%d", n1 + n2, n3 + n4, n5 + n6);
	return 0;
}
